package com.it.dao.impl;

import com.it.dao.BookDao;

public class BookDaoImpl implements BookDao {

    // 创建无参构造方法
    //public BookDaoImpl() {
    //private BookDaoImpl() {
    //private BookDaoImpl(int i) {
    //java.lang.NoSuchMethodException: com.it.dao.impl.BookDaoImpl.<init>()
    public BookDaoImpl() {
        System.out.println("book dao constructor is running ....");
    }

    public void save() {
        System.out.println("book dao save...");
    }
}
